package com.smartleanx.module.hrm.framework.operate.core.enums;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 订单操作类型的枚举
 *
 * @author tengcj
 * @date 2024/1/11
 */
@RequiredArgsConstructor
@Getter
public enum OperationTypeEnum {

    // *******************  员工相关 1_010 START ******************
    EMPLOYMENT(1_010, "新建了员工"),
    SUBMIT_REGULAR_EMPLOYEE(1_011_1, "转正申请审核提交"),
    BECOMING_A_REGULAR_EMPLOYEE(1_011_2, "转正申请审核通过"),
    REJECT_A_REGULAR_EMPLOYEE(1_011_3, "转正申请审核驳回"),
    EMPLOYEE_TRANSFER(1_012_1, "调动:  {info}"),
    EMPLOYEE_APPROVED_TRANSFER(1_012_2, "调动审核通过:  {info}"),
    EMPLOYEE_REJECT_TRANSFER(1_012_3, "调动审核驳回:  {info}"),
    RESIGNATION(1_013, "离职"),
    COMPANY_RECOGNITION(1_014, "公司表彰"),
    // *******************  员工相关 END ******************

    // *******************  薪资相关 2_010 START ******************
    PAYROLL_IMPORT(2_010, "导入{result}"),
    // *******************  员工相关 END ******************
    ;

    /**
     * 操作类型
     */
    private final Integer type;
    /**
     * 操作描述
     */
    private final String action;
}
